<?php
namespace Home\Controller;
use Think\Controller;
class DemoController extends Controller {

    /**
     * http://127.0.0.1/test/home/demo/index
     * http://127.0.0.1/test/index.php/home/demo/index
     */
    public function index(){
        $str = 'index';
        dump($str);
    }
}